<?php
/*
 * Created on 11/10/2012
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
?>
<?php
	//echo 'Instancia: ' . $data->id;
	echo CHtml::link('Prova '.$data->id, array('caderno/resolver',
											'id'=>$data->id),
							array('style'=>'display:inline-block;width:340px;'));
	
	$this->widget('ext.rating.Rating', array('rate'=>floor($data->getPercentualAcerto()/10)));
	echo '<span style="display:inline-block;width:40px;">'.$data->getPercentualAcerto().'%</span>';
	;
	echo CHtml::link('detalhes', array('caderno/desempenho','id'=>$data->id));
	echo '<br />';
?>